import { dbCall } from './db-connection.js'

export const createUser = async (name) => {
  const command = `CREATE USER ${name}`
  // This is a normal await, because it's in an async function
  return await dbCall({ command })
}
